package com.oa.pm.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 校招渠道管理联系记录表
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("pm_school_recruitment_contact_record")
@ApiModel(value = "校招渠道管理联系记录表")
public class SchoolRecruitmentContactRecord extends Model<SchoolRecruitmentContactRecord> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "校招渠道管理表id")
    private String schoolRecruitChannelsId;

    @ApiModelProperty(value = "联系时间")
    private Date contactTime;

    @ApiModelProperty(value = "联系人")
    private String linkman;

    @ApiModelProperty(value = "联系电话")
    private String contactNumber;

    @ApiModelProperty(value = "是否删除（1-已删除  2-未删除）")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}